from django.conf import settings
from django.conf.urls.defaults import *
from bandtogether import views
#from bandtogether.views import main, about, api, faq, team, terms, what

# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()

urlpatterns = patterns('',
    # Example:
    # (r'^bandtogether/', include('bandtogether.foo.urls')),

    # Uncomment the admin/doc line below and add 'django.contrib.admindocs' 
    # to INSTALLED_APPS to enable admin documentation:
    # (r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    # (r'^admin/(.*)', admin.site.root),
    ('^about/$', views.about),

    # info
    (r'^info/team/$', views.team),
    (r'^info/developer/$', views.api),
    (r'^info/faq/$', views.faq),
    (r'^info/terms/$', views.terms),
    (r'^info/tour/$', views.what),

    # directories
    (r'^directory/artist/$', views.artist),
    (r'^directory/venue/$', views.venue),
    
    # searches
    (r'^find/venue/$', views.findVenue),
    (r'^find/artist/$', views.findArtist),
    (r'^find/genre/$', views.findGenre),
    
    # venuePage
    (r'^venue/(\w+)/$', views.venuePage),
    
    # artistPage
    (r'^artist/(\w+)/$', views.artistPage),
    
    # genrePage
    (r'^genre/(\w+)/$', views.genrePage),
    
    #main
    ('^$', views.main),
   
)
